Method and arrangement for providing a wireless mesh network

ABSTRACT

A method and an arrangement for providing a wire-free mesh network are provided. An approval procedure is carried out in situations in which a subscriber who is registering on the mesh network transmits an MAC address which already exists in the mesh network, such that two different subscribers within the mesh network never have identical MAC addresses.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is the US National Stage of International ApplicationNo. PCT/EP2007/055231, filed May 30, 2007 and claims the benefitthereof. The International Application claims the benefits of EuropeanPatent Office application No. 06017663.3 EP filed Aug. 24, 2006, both ofthe applications are incorporated by reference herein in their entirety.

FIELD OF INVENTION

The invention relates to a method for providing a wireless mesh networkand an arrangement for providing a wireless mesh network.

BACKGROUND OF INVENTION

A wireless mesh network is a meshed network implemented for example in aWireless Local Area Network (WLAN). In a mesh network a mobile node canforward data originating from another mobile node to a further mobilenode or transmit it to a base station. Mesh networks can cover longdistances, in particular in uneven or problematic terrain. Mesh networksalso operate very reliably, since each mobile node is connected toseveral other nodes. If a node fails, for example due to a hardwaredefect, its adjacent nodes seek an alternative data transmission route.Mesh networks can include fixed or mobile devices.

As mentioned above, FIG. 1 shows a mesh network MESH, which is connectedto an infrastructure network INFRASTRUCTURE NETWORK and as well as nodesMP, MAP of the mesh network also has non-mesh stations, for example astation STA operating according to WLAN. This station STA operatingaccording to WLAN is connected to the mesh network MESH by way of a meshnetwork node MAP, which operates as a WLAN access point.

The mesh network MESH of the WLAN station STA here can also allow accessto an infrastructure network INFRASTRUCTURE NETWORK, for example acompany network or the internet.

In this process mesh nodes MP and/or WLAN stations STA are authenticatedfor example using an authentication server AAA-server (AS), with themesh network MESH being coupled to the infrastructure networkINFRASTRUCTURE NETWORK by way of a gateway component GW in the exampleshown.

FIG. 2 shows an independent mesh network MESH, as known in the priorart. Independent here means that the mesh network MESH is formedexclusively from mesh nodes MP.

These can be both infrastructure nodes and also so-called end usernodes, such as a notebook or PDA for example.

In contrast FIG. 3 shows an independent mesh network with an accesspoint MAP, as known from the prior art, which allows non-mesh-capabledevices, such as the WLAN stations STA shown for example, to registerwith the network MESH. The WLAN stations STA shown do not however takepart in mesh routing themselves.

SUMMARY OF INVENTION

In the arrangements shown according to the prior art it is standard forthe devices to identify themselves in the network by means of aso-called MAC address (Media Access Control Ethernet ID). A MAC addresshere is the layer-2 address of a node for communication in communicationnetworks based on the IEEE 802 standards, for example in the case ofWLAN according to IEEE 802.11 and in the case of the mesh networks MESHshown according to IEEE 802.11S. This address should generally beconnected to the respective hardware in a universally unique manner.

It is however known that non-trusted subscribers ATTACKER MP can use theMAC address of a trusted subscriber GOOD MP erroneously or completelyintentionally. Such a manipulation, also known as MAC address spoofing,causes disruption of the targeted networks, for example denial ofservice (DoS) attacks, because the sacrificial subscriber GOOD MP can nolonger communicate, as their wireless link is no longer valid. Also thecommunication session of the trusted subscriber GOOD MP can be takenover at a WLAN hotspot with a purely http-browser-based registration.

Measures for identifying such WLAN MAC address spoofing are disclosed inJoshua Right Detecting Wireless LAN MAC Address Spoofing, 21 Jan. 2003,with which firstly a check takes place to determine whether a so-calledOrganizationally Unique Identifier OUI allocated exclusively to theproducers (see IEEE standards), which is part of the transmitted MACaddress, is in fact allocated to a producer. WLAN MAC sequence numbersof a subscriber, which generally increase sequentially, can also beanalyzed, such that as soon as a bigger gap occurs, it is an indicationthat the corresponding MAC frame was sent by another station (attacker).

This has the disadvantage that the OUI check is only effective if theMAC address is generated randomly, but not if the attacker ATTACKER MPsimply uses the MAC address of another trusted subscriber GOOD MP. Theattacker ATTACKER MP can also generate MAC addresses randomly, providedthat their OUI is allocated.

A method for protecting IEEE 802.11 data traffic against MAC addressspoofing is also known from the patent application US 2006/0114863, inwhich protection from MAC address spoofing takes place in WLAN networkssuch that an assignment table is created for the MAC address, and a useridentity used during the WLAN registration and during subsequent WLANregistrations the MAC address used and the user identity are checked todetermine correspondence with the entry in the assignment table and ifthey do not correspond, the registration is rejected.

The object of the present invention is therefore to specify an improvedmethod and arrangement for providing a wireless mesh network.

With the inventive method for providing a wireless local network, inwhich stationary communication entities embodied according to the IEEE802.11 standard and its derivatives, in particular IEEE 802.15 or IEEE802.16, and mobile communication entities are connected as a subnetworkin the manner of the mesh, a communication entity registering with thesubnetwork transmits a registering MAC address to the subnetwork, acheck is carried out such that the registering MAC address is comparedwith the MAC addresses that are reachable on the part of the subnetworkand if the registering MAC address is disjoint in respect of thereachable MAC addresses, the registering communication entity isconnected in the manner of a station of the subnetwork, while if theregistering MAC address is already reachable in the subnetwork, anapproval procedure is carried out such that such that use of theregistering MAC address by two different communication entities withinthe subnetwork is prevented.

One advantage of the inventive method is the immunization againsteffects of MAC address spoofing, since this inventive procedurespecifically prevents registration using a MAC address that is alreadyreachable, which, in contrast to approaches known from the prior art,does not require previously stored relationships between devices and MACaddresses, etc.

In a development of the invention, the approval procedure takes the formof rejection of the registering communication. This is the simplestvariant for ensuring that MAC address spoofing is prevented, as nofurther enquiries and data transmissions are required. It is also thequickest option for completing an approval procedure.

Alternatively the approval procedure takes the form of conversion of theregistering MAC address such that a MAC address that is disjoint inrespect of the reachable MAC addresses is allocated to the registeringcommunication entity within the subnetwork.

This means that for the subnetworks only a MAC address that is validlocally for said subnetworks is allocated internally, regardless of theMAC address assigned in a universally unique manner to each device,thereby preventing spoofing; in other words MAC address spoofing has anegative effect on the function of the mesh subnetwork, in particularthe routing and forwarding of data with the mesh subnetwork.

The disjoint MAC address is preferably generated on the part of thesubnetwork here, since this latter has information about existing MACaddresses and/or the addresses that are valid in the local network. Itis also advantageous here if the disjoint MAC address is generated basedon a pseudo-random sequence, in particular a “Number Used Once, Nonce”generated just once.

It is also advantageous if, in a development, the disjoint MAC addressis selected so that it is disjoint in respect of MAC addresses allocateduniversally, in particular on the part of organizations, as according tothe OUI. This ensures that there are no collisions with universallyassigned MAC addresses.

The 41^(st) bit of the disjoint MAC address is preferably allocated thevalue 1 here, so that local validity is identified in a simple manner.

In a further advantageous embodiment of the invention the approvalprocedure takes the form of a check carried out on the part of thesubnetwork on the identity of the registering communication entity withthe first communication entity determined by way of the reachable MACaddress corresponding to the registering MAC address. It can thus bedetermined whether the registering communication entity is an alreadyknown communication entity, which simply wishes to set up a further linkin the mesh network, as should also be ensured according to mesharchitecture, and therefore is not a case of spoofing but a legitimateregistration attempt and should therefore be permitted.

In one development the identity check should be carried out such thatthe subnetwork transmits a first item of check information to the firstcommunication entity by way of a route in the subnetwork established tothe communication entity determined by way of the reachable MAC addresscorresponding to the registering MAC address, the subnetwork transmits arequest to the first communication entity to return the first item ofcheck information and the subnetwork awaits the return of the first itemof check information by way of a route established in the context of theregistration attempt on the part of the registering station, in otherwords by way of the link to be set up, in the subnetwork, after which ifno return is made the registering communication entity is rejected or ifthe return is made the correlation of the first item of checkinformation with the returned item of check information is checked and,if a specific degree of correlation is achieved, in particular in thecase of identity, of the first item of check information with thereturned item of check information, the registering communication entityis connected in the manner of a station of the subnetwork; otherwise theregistering communication entity is rejected.

This means that a check parameter is sent from the network to thealready registered station by way of the existing route and anexpectation that this check parameter will returned by way of the routeto be set up is realized, this being successfully completed only if thedevice registering is the same device that is already incorporated inthe network at the reachable MAC address.

In a further variant of the identity check the subnetwork transmits afirst item of check information to the first communication entity by wayof a route in the subnetwork established in the context of theregistration attempt on the part of the registering station, thesubnetwork transmits a request to the first communication entity toreturn the first item of check information, the subnetwork awaits thereturn of the first item of check information by way of a route in thesubnetwork established to the communication entity determined by way ofa reachable MAC address corresponding to the registering MAC address;also if no return is made the registering communication entity isrejected, while if the return is made, it is checked whether the firstitem of check information correlates with the returned item of checkinformation so that if a specific degree of correlation is achieved, inparticular in the case of identity, of the first item of checkinformation with the returned item of check information, the registeringcommunication entity is connected in the manner of a station of thesubnetwork; otherwise rejection of the registering communication entityagain takes place. This is a variant in which the check parameter issent from the network to the station just registering, with the route tobe set up being used for this purpose and the network then waiting forthe check parameter to be returned by way of the existing route. Thiscan only happen if the registering device and the already reachabledevice are identical and both routes therefore lead to it, thus ensuringreliable verification of the identity of the registering and alreadyreachable station.

The subnetwork preferably initiates transmission of the second and/orthird item of check information or alternatively transmission of thesecond and/or third item of check information takes place automaticallyon the part of the registering communication entity.

In a further variant for the identity check a fourth item of checkinformation calculated on the part of a cryptographic key authenticatingthe first communication entity determined by way of the reachable MACaddress corresponding to the registering MAC address, in particular afirst session key resulting from a network registration according to theso-called extensible authentication protocol EAP and available to theregistering communication entity is transmitted by way of a route in thesubnetwork established in the context of the registration attempt on thepart of the registering station; the subnetwork determines the validityof the fourth item of check information based on a second cryptographickey authenticating the communication entity determined by way of areachable MAC address corresponding to the registering MAC address, inparticular a second session key resulting from a network registrationaccording to the extensible authentication protocol EAP and available tothe subnetwork; where there is validity, the registering communicationentity is connected in the manner of a station of the subnetwork,otherwise the registering communication entity is rejected.

Alternatively the identity check takes place such that the registeringcommunication entity transmits a fifth item of check informationcalculated on the basis of a first cryptographic key authenticating theregistering communication entity, in particular a first session keyresulting from a network registration according to the so-calledextensible authentication protocol EAP and available to the registeringcommunication entity to the subnetwork by way of a route established tothe communication entity determined by way of a reachable MAC addresscorresponding to the registering MAC address; the subnetwork alsodetermines the validity of the item of check information based on asecond cryptographic key authenticating the registering communicationentity, in particular a second session key resulting from a networkregistration according to the extensible authentication protocol EAP andavailable to the subnetwork; where there is validity the registeringcommunication entity is connected in the manner of a station of thesubnetwork, otherwise the registering communication entity is rejected.

These two variants allow particularly reliable verification of identity,since this is based on encryption information assigned to the respectivecommunication entities or to existing links and/or links be set up tothem.

The first and/or second session keys here are preferably generated asMaster Session Keys MSK formed according to the extensibleauthentication protocol EAP, so that the inventive method can beimplemented in conventional EAP environments or those based on EAP.

Alternatively or additionally the first and/or second session key can begenerated as extended master session keys EMSK formed according to theextensible authentication protocol EAP.

A function according to a cryptographic hash function, in particular theSHA-1, SHA-256 or MD5 hash function, is suitable here for calculatingthe first, second, third, fourth and/or fifth item(s) of checkinformation, as is it possible to use known routines.

Alternatively or additionally it is advantageous if keyed hashfunctions, such as in particular EAS-CBC-MAC, HMAC-SHA1, HMAC-SHC256,HMAC-MD5, are used to calculate the first, second, third, fourth and/orfifth item(s) of check information, with the HMAC functions beingdefined according to RFC2104.

In one advantageous embodiment the approval procedure is initiated whenthe registering communication entity registers with the subnetwork as asubscriber in the manner of the mesh, so that mesh subscribers andnon-mesh subscribers can be distinguished and different variants of theinventive method can be deployed.

In a further advantageous embodiment first, second, third, fourth and/orfifth item(s) of check information is/are generated in particular as apseudo-random code, for example a nonce value.

Alternatively or additionally in a further advantageous embodiment thefirst, second, third, fourth and/or fifth item(s) of check informationis/are transmitted as a hash code generated from a value produced inparticular as a pseudo-random code, for example a nonce code. Thisallows additional protection and a higher degree of verification.

In a further alternative or additional embodiment a hash code generatedfrom an operating parameter of the registering communication entityand/or first communication entity is transmitted as the first, second,third, fourth and/or fifth item(s) of check information. This has theadvantage that known parameters can be used, so that no parameter has tobe generated and the close link between said parameters and the terminalmeans that said terminal can be identified in a simple manner.

The object underlying the invention is also achieved by the arrangementfor providing the wireless local network, which is characterized bymeans for implementing the method.

BRIEF DESCRIPTION OF THE DRAWINGS

Further details and advantages of the invention are described in moredetail below based on the prior art shown in FIGS. 1 to 4 and exemplaryembodiments shown in FIGS. 5 to 12, in which figures:

FIG. 1 shows a mesh network scenario according to the prior art,

FIG. 2 shows an independent mesh network according to the prior art,

FIG. 3 shows a mesh network according to the prior art with an accesspoint for non-mesh subscriber stations,

FIG. 4 shows a scenario of a mesh ownership check according to the priorart,

FIG. 5 shows a flow diagram of an exemplary embodiment of the invention,

FIG. 6 shows a message flow diagram for a first variant of the inventivemesh ownership check,

FIG. 7 shows a message flow diagram for a second variant of theinventive mesh ownership check,

FIG. 8 shows a message flow diagram for a third variant of the inventivemesh ownership check,

FIG. 9 shows a scenario with non-mesh subscriber stations connected byway of mesh access points according to the prior art,

FIG. 10 shows a MAC data frame according to the prior art,

FIG. 11 shows a flow diagram of the forwarding of mesh data framesaccording to the prior art,

FIG. 12 shows a flow diagram with inventive address translation based onscenarios according to the prior art.

DETAILED DESCRIPTION OF INVENTION

Based on the scenarios shown in FIGS. 1 to 4 and the resulting problems,the invention advantageously intervenes and resolves the above-mentionedproblems for a mesh network, as shown in the exemplary embodimentaccording to FIG. 5 based on a flow diagram illustrating the exemplaryembodiment.

The inventively embodied procedure starts here with a first step S1,showing an initial state START, and after the occurrence of an event,specifically receipt of a request from a subscriber station to registerwith a mesh network using the MAC address MA, moves in a second step S2to a third step S3, in which it is checked whether a station with thetransmitted MAC address MA is already registered in the mesh network.

This check, carried out in a fourth step S4, results, if it is analready registered reachable MAC address MA, in a further enquiry in afifth step S5, in which it is checked whether the registering subscriberstation is a mesh node, i.e. a mesh subscriber, or a non-mesh station.In a sixth step S6 the registration request is rejected if it is anon-mesh station. Otherwise, in other words if it is a mesh node, in aneighth step S8 a check takes place to determine MAC address ownershipfor the registering subscriber station and the MAC address MA. Duringthis MAC address ownership check it is checked whether the subscriberstation is authorized to use to the transmitted MAC address MA.

If the enquiry shows that the result of the MAC address ownership checkis OK, in other words it is an already registered subscriber station, ina tenth step S10 the registration request is accepted and the subscriberstation can set up this link. Otherwise the registration request isrejected again as in the sixth step S6, so that the inventive methodreaches an end state in a seventh step S7.

It is thus a core of the invention that during network access by asubscriber to a mesh network using a MAC address, it is checked by themesh network whether a subscriber node with the MAC address used by theregistering subscriber is already registered and is thus reachable inthis network, with the registering subscriber being accepted, if the MACaddress is not yet reachable in said network, but with the responsebeing as described above if a subscriber with the MAC address isreachable.

There are also alternatives to the approval procedure described above.It could be for example that when it is detected in the fourth step S4that it is an already reachable MAC address, the registering subscriberis rejected immediately.

A further alternative or addition to the described proceedings in thecontext of the approval procedure is to carry out a MAC addresstranslation, in other words replacing MAC addresses, as is also knownfor example with the so-called network address translation of IPaddresses to convert private IP addresses to public IP addresses.However here a first MAC address is converted respectively to a secondMAC address assigned to it, while with network address translation anumber of private IP addresses are converted to the same public IPaddress.

According to the invention the MAC address given by the registeringsubscriber would be replaced by a free MAC address in respect ofcommunication within the network, with the free MAC address meaning thatit is an address that is not currently being used within the relevantnetwork, in other words it is disjoint in respect of the reachable MACaddresses.

The replacement address can be generated here by pseudo-random codes,with this preferably being restricted to a MAC address domain, which isnot an address allocated to defined organizations according to OUI.

This can be ensured for example in that the 41^(st) bit, the so-called“U/L” for Universal/Local bit of the MAC address, has the value 1, sothat this MAC address is not universally unique but is administeredlocally and is therefore only unique there. The effect is then that aregistering subscriber with an external non-unique MAC address isallocated an internally unique address uniquely as a result.

There are a number of implementation variants for the MAC addressownership check shown in the flow diagram and these are described inmore detail below.

The basic core concept of the MAC address ownership check is that theregistering station must demonstrate knowledge of a MAC ownership checkparameter during registration. The condition that allows an identitycheck in this process is that the check parameter is only known to thestation that has already registered and is reachable.

This check parameter can be a number generated in a pseudo-randommanner, a so-called nonce or a cryptographic value, i.e. a valuecalculated with the aid of cryptographic methods and a key or anotherknown parameter, such as a serial number or counter value for example.

If the registering station demonstrates knowledge of this checkparameter, it is accepted. This demonstration is preferably provided bytransmitting the check parameter on at least two different routes. Oneroute is always the route to be set up and the other can be selectedfreely from already existing routes.

Implementation variants result from different possible demonstrationsequences.

For example, a sequence can be such that the check parameter is sentfrom the network to the already registered station by way of the alreadyexisting route and the network then waits for the check parameter to bereturned by way of the route to be set up. This ensures that theregistering station and the already registered station are identical andonly the registering station wishes to set up a further route, as ispossible in principle according to mesh architecture, as the return ofthe check parameter by the route to be set up is only possible if theyare one and the same station. An attacker would not have thisinformation.

One variant of this is that the check parameter is sent from the networkto the station just registering by way of the route to be set up and thesubsequent return of the check parameter by way of the already existingroute is then awaited. This is essentially only a reversal of thetransmission directions.

In a further variant the check parameter, for example theabove-mentioned random number generated in a pseudo-random manner ornonce, is transmitted from the registering station to the network by wayof the two routes mentioned, namely the route to be set up and thepreviously existing route to the network. The network then only has tocheck the identical nature of the two parameters arriving by way of thedifferent routes and in the simplest instance if the check parametersare identical or there is a high degree of correlation approve theregistering station correspondingly and if they are not identical rejectit. Sending can be initiated here by the stations involved or the checkparameter is requested on the initiative of the network by way of thetwo different routes mentioned.

A further possibility is that a check parameter is calculated using acryptographic key by the station just registering. This can be done forexample on the basis of a master session key MSK resulting from anEAP-based network registration. After calculation the check parameter issent by way of the already existing route to the network, which itselfcalculates a check parameter for cross-checking purposes using the samekey and checks it against the one received to determine identity.

Similarly the registered station can calculate check parameters based onthe cryptographic key assigned to it and send them to the network by wayof the route to be set up.

The core of the ownership check is therefore

-   -   sending the check parameter,    -   sending a value derived from the check parameter, for example        the hash value of the check parameter or the input value of a        hash function, which gives the check parameter as a result, for        example SHA-1, SHA-256 or MD5,    -   using the check parameter as input to calculate a cryptographic        checksum, the so-called message authentication code, for example        HMAC-SHA1, HMAC-SHA256, HMAC-MD5 or AES-CPC-MAC and sending the        result.

The two first variants of the demonstration sequences, i.e. rejection orMAC address conversion are advantageous here if it is known that asubscriber can or should only register once with this network, as is thecase for example with conventional WLAN stations, while the thirdvariant, in other words the ownership check, can be deployed expedientlywhen a subscriber can legitimately maintain a number of access links tothis network, as is permitted for example for mesh nodes within a meshnetwork.

Therefore a development also provides for a distinction betweendifferent types of subscriber, in the above instance for examplespecifically between mesh subscribers and non-mesh subscribers, with asubscriber station being given the freedom to register with the networkas a mesh subscriber or a non-mesh subscriber and with the check thenbeing carried out in such a manner that if it registers as a non-meshsubscriber, it is checked according to the invention that no othersubscriber with the same MAC address is registered as a mesh subscriberwith the network. It can also be checked that no other subscriber withthe same MAC address is already registered as a non-mesh subscriber withthe network.

FIG. 6 shows a detailed diagram of a first variant of the ownershipcheck in the form of a message flow diagram.

It shows the message flow between a station MP-A, which has the MACaddress MACA, registering with a mesh network, which consists at leastof the mesh nodes MP-1 and MP-2, a first station MP-1 having a first MACaddress MAC1 and the second station MP-2 having a second MAC addressMAC2.

A possible message flow resulting according to the invention is shown asfollows.

At a first time T1.1 the registering station MP-A sends a registrationrequest to set up a link to a mesh node of the mesh network, in theexample shown a second station MP-2.

It is then checked at a time T1.2 by MP-2 whether the MAC address of theregistering station MACA is already reachable in the mesh network, inother words if a node has already registered with this address. In theexample shown it should be assumed that this is the case. A check couldbe carried out here to determine the presence of an already existingreachable address in that the second station MP-2 searches its routingtables for an entry for the registration MAC address MACA or it could bedone by means of a so-called route request message, which is preferablysent out with a destination only flag for the node with the registeringMAC address MACA, to determine any existing route through the meshnetwork.

Since in this instance the registration MAC address MACA alreadyrepresents a reachable address in the mesh network, the secondcommunication entity MP-2 sends an error message back to the registeringstation MP-A at time T1.3, stating that a MAC address ownershipdemonstration MAO is required, this message being optional.

Furthermore at a fourth time T1.4 the second communication entity MP-2generates a check parameter N, for example a pseudo-random number, andstores it, optionally with further data, in particular the MAC addressMACA of the registering station MP-A, to use this at a later stage forthe ownership demonstration, such that the second communication entityMP-2 sends this check parameter as a message to the registering stationMP-A by way of a first communication entity MP-1, this message beingsent first to the first communication entity MP-1, which then forwardsit to the registering station MP-A.

As well as the check parameter N this message also contains the MACaddresses of the second communication entity MP-2 and the registeringstation MP-A as address information, so that even if the message isforwarded by way of a number of intermediate nodes, it still arrivessuccessfully at the registering station MP-A.

On receipt of this message, at a fifth time T1.5, the registeringcommunication entity MP-A again sends a registration request to set up alink to the second communication entity MP-2, this message alsocontaining the check parameter N in contrast to the request sent at thefirst time T1.1.

Then at a sixth time T1.6 the second communication entity MP-2 can checkthe check parameter N sent by the registering station MP-A to determinewhether it corresponds to the stored one, which should be the case inthe scenario shown, so that at a seventh time T1.7 the secondcommunication entity MP-2 sends an OK message for confirmation to theregistering communication entity MP-A and the registering station MP-Ais thus approved as a subscriber station in the network.

FIG. 7 shows a further variant, in which the alternative realization ofthe demonstration sequence is such that the registering station MP-Aitself generates a check parameter N, which is requested by the secondcommunication entity MP-2 via the existing link by way of the firstcommunication entity MP-1. In the message flow diagram shown thedemonstration sequence starts at a first time T2.1 such that theregistering station MP-A first sends a registration request to set up alink to the second communication entity MP-2 in the usual manner.

At a second time T2.2 the second communication entity MP-2 then checkswhether the MAC address transmitted on the part of the registeringcommunication entity MP-A, i.e. the registration address MACA, isalready reachable in the mesh network, in other words a node isregistered with this MAC address. This should be assumed in this exampletoo, it being possible for the check to take place, as described withreference to FIG. 6. With this variant too, at a third time T2.3 thesecond communication entity MP-2 sends an error message back to theregistering communication entity MP-A stating that a MAC addressownership demonstration MAO is required, so that in contrast to thevariant described above the registering station MP-A itself generates acheck parameter N, for example a pseudo-random number, and stores this.In order now to allow the second communication entity MP-2 to carry outthe check, the registering station MP-A sends a message to the secondcommunication entity MP-2 by way of the first communication entity MP-1,this being sent first to the first communication entity MP-1, which thenforwards it to the second communication entity MP-2, said messagecontaining the check parameter N, which was generated by the registeringcommunication entity MP-A. The communication entity stores the receivedcheck parameter N and optionally further data, in particular the MACaddress MACA of the registering station MP-A.

At a fifth time T2.5 the registering communication entity again sends aregistration request to set up a link to the second communication entityMP-2, this also containing the check parameter N in contrast to themessage sent at the first time T2.1.

At a sixth time T2.6, after the second communication entity MP-2 hasreceived the message from the registering communication entity MP-A, acheck is carried out by the second communication entity MP-2 todetermine whether the check parameter sent by the registeringcommunication entity MP-A corresponds to the check parameter received byway of the first communication entity MP-1, as is assumed in thisexample, so that at a seventh time T2.7 the second communication entityMP-2 sends an OK message for confirmation to the registeringcommunication entity MP-A and allows this subscriber station access tothe network.

An alternative would be for the registering communication entity MP-A toinsert a check parameter into the message during the first registration,resulting in an almost identical sequence, with the only differencebeing that the first two messages are omitted.

The check parameters here can be random numbers generated in apseudo-random manner (nonce) in particular.

FIG. 8 shows a further variant and describes it using the example of amessage flow diagram, in which the generation of a check parameter isdispensed with and instead the registering station MP-A uses existinginformation, i.e. parameters, which is requested on the part of thesecond communication entity MP-2 by way of both routes, i.e. once by wayof the route to be set up and by way of the already existing route.

This variant has the advantage that any parameters can be requested,allowing a check in which the usual registration procedure itself doesnot have to be modified. It is sufficient simply for it to be possibleto request parameter values assigned to the registering communicationentity MP-A.

These parameters can in particular be serial numbers of the registeringcommunication entity MP-A, the type, model or software version of saidcommunication entity; they can also be counter values of the registeringcommunication entity MP-A, for example packet counters, sequence numbercounters for routing messages, the specific route request sequencenumber of the registering communication entity MP-A, in other words tworoute request messages are sent to it by way of the two routesmentioned, to which it must respond with the respectively appropriate,i.e. very close sequence number, it being necessary here to ensure thatno data relating to the destination sequence number is contained in theroute request transmitted by way of the link or route to be set up, asotherwise a potential attacker node would learn the current andtherefore the expected value.

During the subsequent check it is then tested whether the values areidentical or whether the counter values, which may be different becausethe requests are made at different times, are sufficiently close to oneanother. A threshold value comparison for example is preferable forthis.

The messages flow as follows.

At a first time T3.1 the known registration request is sent on the partof the registering communication entity MP-A, containing theregistration address MACA, to the second communication entity MP-2,whereupon this latter checks whether the transmitted registrationaddress MACA is already reachable in the mesh network and at a thirdtime T3.3 sends a request for any parameters to the registering stationMP-A, whereupon the registering station MP-A sends the correspondingparameters to the second communication entity MP-2, which then storesthese at a fifth time T3.5 and at a sixth time T3.6 sends a request forthe same parameters by way of the first communication entity MP-1 to theregistering communication entity MP-A, whereupon the registeringcommunication entity MP-A transmits the requested parameters by way ofthe first communication entity MP-1 to the second communication entityMP-2, so that at an eighth time T3.8 the second communication entityMP-2 can transmit an OK message to the registering station MP-A, thusallowing this station access to the network.

One alternative to this is to set the link up with certain conditions.The OK message would then be sent directly after the registrationrequest and then in a conditional phase the checks would be carried out,as described above, so that, if the result of the checks is negative,the direct link is canceled again. The direct link between theregistering station MP-A and the second communication entity MP-2 isthen preferably only treated as existent by the second communicationentity MP-2 for routing purposes if the check is successful, i.e. afterthe conditional phase.

FIG. 9 shows a scenario in which during the registration of a node as anon-subscriber, i.e. for example as a WLAN station STA at a mesh accesspoint MAP, the mesh network, i.e. one of the mesh access points MAP,checks whether a mesh node is already registered within the networkusing the same MAC address as the registering station that isregistering as a non-mesh subscriber.

The particular feature of this illustrated example is that only the MACaddress of a node is checked during registration of a station as anon-mesh subscriber and only one check takes place in respect of thoseMAC addresses that belong to a mesh node, in other words a subscriberregistered as a mesh subscriber.

This ensures that no non-mesh subscriber uses the MAC address of a meshnode or is visible with this MAC address within the mesh network. It canbe seen that a node is not a mesh subscriber by an entry in a table witha set flag, known as “isProxied” (see IEEE 802.11s D0.02, section11A.3.5.2 MP Proxy Table), while a mesh node belonging to a meshsubscriber would be shown in the table with a flag that iscorrespondingly not set.

According to the invention the following measures could be taken if thenon-mesh subscriber station has an address which is identical to a meshsubscriber station and either the registration of the correspondingnon-mesh station is rejected or the MAC address used by the non-meshstation is converted to a free MAC address using MAC addresstranslation.

In one variant the check could take place in such a manner that it isdetermined whether the MAC address is already in use both in respect ofmesh subscribers and in respect of non-mesh subscribers; in other wordsit is checked whether any node MP, MAP, STA is reachable at this MACaddress.

This variant is particularly advantageous when no information isavailable to indicate whether a node with a specific MAC address isitself involved in mesh routing.

The MAC address conversion MAC address translation will be described inmore detail with reference to FIGS. 10 and 11.

FIG. 10 shows the structure of a MAC frame defined according to IEEE802.11, which according to the standard can contain up to four addressfields, so-called MAC addresses (see also IEEE 802.11 section 7.2).

These can be

-   -   the so-called source address SA,    -   the destination address DA,    -   the transmitting station address TA,    -   or the so-called receiving station address RA.

The source address SA here refers to the address of the original sender,while the destination address DA indicates the address of the finalreceiver node.

Generally however frames are forwarded by way of a number ofintermediate nodes within a mesh network, so that the address fieldstransmitting station address TA and receiving station address TA areused for this purpose.

The transmitting station address TA and the receiving station address RAare always included in this frame, while the source address SA and thedestination address DA are only filled as required, i.e. when they aredifferent from the transmitting station address TA or the receivingstation address RA.

In principle the data frame also contains a field for useful data DATAand a field containing the checksum FCS.

Further header fields that are not relevant for the description, such asframe control, duration/ID or sequence control, are not shown for thesake of simplicity.

FIG. 11 shows the deployment of these MAC frames, the respective inputbeing self-explanatory.

FIG. 12 finally shows the inventive conversion of the MAC address in thecase of an already used or reachable address, based on this prior art.

It shows a conversion of the MAC address M-S of a non-mesh subscriberstation STA to a MAC address M-R not used within the mesh network, e.g.generated in a pseudo-random manner, with “R” as random, on the part ofa MAC address point MAP-1.

The conversion is therefore also to be seen as the replacement of theMAC address M-S given by the non-mesh subscriber station STA, with theconversion only affecting the transmitter address TA of MAC frames fromthe non-mesh subscriber nodes STA, which is identical to the sourceaddress SA, and in the case of MAC frames sent to the non-meshsubscriber nodes STA the receiver address RA, which is identical to thedestination address DA.

It also shows the assignment table in the mesh access point, by way ofwhich the non-mesh subscriber station STA registers. It shows that thiscontains entries which are used to store mesh-network-external MACaddresses (MAC EXT) to be mapped onto one another assigned respectivelyto mesh-network-internal MAC addresses (MAC INT).

In one variant the MAC address conversion or translation mentionedalways takes place, in other words regardless of whether the MAC addressindicated is already reachable or not.

1.-24. (canceled)
 25. A method for providing a wireless local networkcomprising: transmitting a registering MAC address to a subnetwork by acommunication entity registering with the subnetwork; a first node ofthe subnetwork comparing the registering MAC address with MAC addressesthat are reachable via the subnetwork such that: when the registeringMAC address is disjoint of the reachable MAC addresses, the first nodeconnecting the registering communication entity in a manner of a stationof the subnetwork; and when the registering MAC address is not disjointof the reachable MAC addresses such that the registering MAC addressalready is reachable via the subnetwork, the first node implementing anapproval procedure with the registering communication entity to preventtwo different subscribers within the subnetwork from having identicalMAC addresses.
 26. The method of claim 25, wherein the subnetwork is amesh network comprised of a plurality of mobile communication terminals.27. The method of claim 25, wherein the approval procedure includes aconversion of the registering MAC address such that a MAC address thatis disjoint in respect of the reachable MAC addresses is allocated tothe registering communication entity within the subnetwork.
 28. Themethod of claim 27 wherein the converted disjoint MAC address isgenerated on the part of the subnetwork.
 29. The method of claim 27wherein the converted disjoint MAC address is generated based on apseudo-random sequence.
 30. The method of claim 27, wherein theconverted disjoint MAC address is selected so that it is disjoint inrespect of MAC addresses allocated universally as according to the OUI.31. The method of claim 25, wherein bit 41 of the disjoint registeringMAC address is allocated a value of
 1. 32. The method as claimed inclaim 25, wherein the approval procedure comprises: the first node ofthe subnetwork sending a first message to the registering communicationentity that identifies a need for the registering communication entityto demonstrate ownership of the registering MAC address via a firstroute, the first message comprising a first item of check information,the first route comprising a pre-existing route between the first nodeand a communication entity associated with the registering MAC addressthat is already reachable via the subnetwork; the registeringcommunication entity sending a response message to the first node of thesubnetwork via a second route that comprises the first item of checkinformation in response to receipt of the first message from the firstnode of the subnetwork, the second route being a route to be establishedvia registration of the registering MAC address, in response to receiptof the first item of check information via the second route, the firstnode of the subnetwork evaluating the received first item of checkinformation to determine whether the received first item of checkinformation received from the registering communication entity in theresponse message corresponds with stored check information associatedwith the registering MAC address.
 33. The method of claim 32, whereinthe first node connects the registering communication entity in a mannerof the station of the subnetwork when at least a specific degree ofcorrelation is achieved between the first item of check information ofthe message sent to the first node by the registering communicationentity and the first item of check information sent by the first node tothe registering communication entity and the first node rejecting theregistering communication entity upon a determination that the specificdegree of correlation is not achieved.
 34. The method of claim 25,wherein the approval procedure comprises: receiving, by the first nodeof the subnetwork, a first item of check information from theregistering communication entity by way of a first route in thesubnetwork established in the context of the registration attempt of theregistering communication entity; transmitting, by the first node of thesubnetwork, a request to a first communication entity by way of thereachable MAC address of the first communication entity of thesubnetwork that is determined to correspond with the registering MACaddress, the request requesting the first communication entity to sendthe first item of check information to the first node, awaiting, by thefirst node of the subnetwork, receipt of the first item of checkinformation from the first communication entity by way of a second routein the subnetwork that comprises the first communication entity;rejecting the registering communication entity when no receipt of thefirst item occurs; when the first node receives the first item of checkinformation via the second route, the first node: checking a correlationof the first item of check information received from the registeringcommunication entity with the first item of check information receivedfrom the first communication entity via the second route, connecting theregistering communication entity in the manner of a station of thesubnetwork when at least a pre-selected degree of correlation betweenthe first item from the registering communication entity and the firstitem from the first communication entity is achieved, and rejecting theregistering communication entity when the pre-selected degree ofcorrelation is not achieved.
 35. The method of claim 32, wherein theapproval procedure comprises: awaiting, by the first node of thesubnetwork, for a first item of check information by way of a firstroute in the subnetwork established to a first communication entity ofthe subnetwork and for a second item of check information by way of asecond route in the subnetwork established in the context of theregistration attempt from the registering communication entity,rejecting the registering communication entity when the first item ofcheck information fails to arrive within a predetermined amount of time,rejecting the registering communication entity when the second item ofcheck information fails to arrive within a predetermined amount of time,checking a correlation of the first item of check information with thesecond item of check information after the first and second items ofcheck information arrive, connecting the registering communicationentity in the manner of a station of the subnetwork when at least aspecific degree of correlation is achieved between the first item ofcheck information and the second item of check information, andrejecting the registering communication entity when the specific degreeof correlation is not achieved.
 36. The method of claim 35, wherein atransmission of the first item of check information is initiated on thepart of the subnetwork.
 37. The method of claim 35, wherein atransmission of the second item of check information is initiated on thepart of the registering communication entity.
 38. The method of claim32, wherein the approval procedure comprises: the registeringcommunication entity determining a first item of check information basedon a first cryptographic key authenticating the registeringcommunication entity, the first cryptographic key being a first sessionkey resulting from a network registration according to extensibleauthentication protocol (EAP) and available to the registeringcommunication entity, the first item of check information beingtransmitted to the first node of the subnetwork by way of a first routein the subnetwork established in context of the registration attemptmade by the registering communication entity, the first node of thesubnetwork attempting decryption of the first item of check informationbased on a second cryptographic key authenticating the firstcommunication entity, the second cryptographic key being a secondsession key resulting from a network registration according to EAP ofthe first communication entity, and in the event of successfuldecryption of the first item of check information, the registeringcommunication entity is connected in the manner of a station of thesubnetwork, otherwise the registering communication entity is rejected.39. The method of claim 32, wherein the approval procedure comprises:transmitting a first item of check information to the first node via anestablished route of the subnetwork, the first item of check informationcalculated based on a first cryptographic key authenticating a firstcommunication entity having a reachable MAC address of the subnetworkthat corresponds with the registering MAC address, the firstcryptographic key being a first session key resulting from a networkregistration according to extensible authentication protocol (EAP) andavailable to the registering communication entity, the first node of thesubnetwork attempting decryption of the first item of check informationbased on a second cryptographic key authenticating the registeringcommunication entity, the second cryptographic key being a secondsession key resulting from a network registration according to EAP andbeing available to the first node of the subnetwork, and in the event ofsuccessful decryption, the registering communication entity is connectedin the manner of a station of the subnetwork; otherwise the registeringcommunication entity is rejected.
 40. The method of claim 38, wherein atleast one of: the first and/or second session key is generated as amaster session key formed according to EAP, and the first and/or secondsession key is generated as an extended master session key formedaccording to EAP.
 41. The method of claim 39, wherein a cryptograph hashfunction and/or a keyed hash function is used to calculate the firstand/or second item of check information.
 42. The method as claimed inclaim 25, wherein the approval procedure is initiated when theregistering communication entity attempts to register with thesubnetwork as a subscriber in a manner of a mesh network node.
 43. Acommunication system comprising: a subnetwork comprising a first node,wherein the first node is configured to respond to a registerationmessage received from a registering communication entity by assessing aregistering MAC address of the registering communication entity suchthat: when the registering MAC address is disjoint of MAC addressesreachable via the subnetwork, the first node connecting the registeringcommunication entity in a manner of a station of the subnetwork; andwhen the registering MAC address is not disjoint of the reachable MACaddresses such that the registering MAC address already is reachable viathe subnetwork, the first node implementing an approval procedure withthe registering communication entity to prevent two differentsubscribers within the subnetwork from having identical MAC addresses.44. The system of claim 43, wherein wherein the approval procedurecomprises: the first node sending a first message to the registeringcommunication entity that identifies a need for the registeringcommunication entity to demonstrate ownership of the registering MACaddress via a first route, the first message comprising a first item ofcheck information, the first route comprising a pre-existing routebetween the first node and a communication entity of the subnetworkassociated with the registering MAC address that is already reachablevia the subnetwork; the registering communication entity sending aresponse message to the first node of the subnetwork via a second routethat comprises the first item of check information in response toreceipt of the first message from the first node of the subnetwork, thesecond route being a route to be established via registration of theregistering MAC address, in response to receipt of the first item ofcheck information via the second route, the first node of the subnetworkevaluating the received first item of check information to determinewhether the received first item of check information received from theregistering communication entity in the response message correspondswith stored check information associated with the registering MACaddress.
 45. The system of claim 43, wherein the approval procedurecomprises: receiving, by the first node, a first item of checkinformation from the registering communication entity by way of a firstroute in the subnetwork established in the context of the registrationattempt of the registering communication entity; transmitting, by thefirst node, a request to a first communication entity by way of thereachable MAC address of the first communication entity of thesubnetwork that is determined to correspond with the registering MACaddress, the request requesting the first communication entity to sendthe first item of check information to the first node, awaiting, by thefirst node, receipt of the first item of check information from thefirst communication entity by way of a second route in the subnetworkthat comprises the first communication entity; rejecting the registeringcommunication entity when no receipt of the first item occurs; when thefirst node receives the first item of check information via the secondroute, the first node: checking a correlation of the first item of checkinformation received from the registering communication entity with thefirst item of check information received from the first communicationentity via the second route, connecting the registering communicationentity in the manner of a station of the subnetwork when at least apre-selected degree of correlation between the first item from theregistering communication entity and the first item from the firstcommunication entity is achieved, and rejecting the registeringcommunication entity when the pre-selected degree of correlation is notachieved.
 46. The system of claim 43, wherein the approval procedurecomprises: awaiting, by the first node, for a first item of checkinformation by way of a first route in the subnetwork established to afirst communication entity of the subnetwork and for a second item ofcheck information by way of a second route in the subnetwork establishedin the context of the registration attempt from the registeringcommunication entity, the first node rejecting the registeringcommunication entity when the first item of check information fails toarrive within a predetermined amount of time, the first node rejectingthe registering communication entity when the second item of checkinformation fails to arrive within a predetermined amount of time, thefirst node checking a correlation of the first item of check informationwith the second item of check information after the first and seconditems of check information arrive, the first node connecting theregistering communication entity in the manner of a station of thesubnetwork when at least a specific degree of correlation is achievedbetween the first item of check information and the second item of checkinformation, and the first node rejecting the registering communicationentity when the specific degree of correlation is not achieved.
 47. Thesystem of claim 43, wherein the approval procedure comprises: theregistering communication entity determining a first item of checkinformation based on a first cryptographic key authenticating theregistering communication entity, the first cryptographic key being afirst session key resulting from a network registration according toextensible authentication protocol (EAP) and available to theregistering communication entity, the first item of check informationbeing transmitted to the first node of the subnetwork by way of a firstroute in the subnetwork established in context of the registrationattempt made by the registering communication entity, the first nodeattempting decryption of the first item of check information based on asecond cryptographic key authenticating the first communication entity,the second cryptographic key being a second session key resulting from anetwork registration according to EAP of the first communication entity,and in the event of successful decryption of the first item of checkinformation, the registering communication entity is connected in themanner of a station of the subnetwork, otherwise the registeringcommunication entity is rejected.
 48. The system of claim 43, whereinthe approval procedure comprises: transmitting a first item of checkinformation to the first node via an established route of thesubnetwork, the first item of check information calculated based on afirst cryptographic key authenticating a first communication entityhaving a reachable MAC address of the subnetwork that corresponds withthe registering MAC address, the first cryptographic key being a firstsession key resulting from a network registration according toextensible authentication protocol (EAP) and available to theregistering communication entity, the first node attempting decryptionof the first item of check information based on a second cryptographickey authenticating the registering communication entity, the secondcryptographic key being a second session key resulting from a networkregistration according to EAP and being available to the first node ofthe subnetwork, and in the event of successful decryption, theregistering communication entity is connected in the manner of a stationof the subnetwork; otherwise the registering communication entity isrejected.